package org.zht.dormpro.dorm.service;

import org.apache.ibatis.annotations.Param;
import org.zht.dormpro.auth.bean.PageBean;
import org.zht.dormpro.dorm.model.TbCollege;

import java.util.List;

public interface ICollegeService {

    boolean addCollege(TbCollege tbCollege);

    TbCollege getCollegeById(Integer parentId);

    boolean editCollege(TbCollege tbCollege);

    boolean deleteCollege(Integer id);

    boolean batchRemoveCollege(List<String> colIds);

    List<TbCollege> getCollegeByCondition(PageBean pageBean);

    List<TbCollege> getAllCollege(@Param("all") int all);

    List<TbCollege> getAllCollege();
}

